notebook.community
Edit and run
In [1]: page = 1 url = 'https://tw.stock.yahoo.com/s/list.php?c=tse&pid=' + str(page) url
page = 1 url = 'https://tw.stock.yahoo.com/s/list.php?c=tse&pid=' + str(page) url
Out[1]: 'https://tw.stock.yahoo.com/s/list.php?c=tse&pid=1'
'https://tw.stock.yahoo.com/s/list.php?c=tse&pid=1'
In [ ]: